<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../../houtai/include/peizhi.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<link rel="shortcut icon" type="image/x-icon" href="${ctx}/images/favicon.ico" />
	<meta name="title" content="${titleVo.title}">
	<meta name="keywords" content="${titleVo.keyword}">
	<meta name="description" content="${titleVo.content}">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<link rel="stylesheet" type="text/css" href="${ctx}/css/basepc.css">
	<link rel="stylesheet" type="text/css" href="${ctx}/css/index.css">
	<link rel="stylesheet" href="${ctx}/css/admin.css" />
	<script type="text/javascript" src="${ctx}/js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/list.js"></script>
	<script type="text/javascript" src="${ctx}/js/epagehoutai.js"></script>
	<title></title>
<style type="text/css">
	.choice {
    width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #f0f0f0;
}
</style>
</head>
<body>
<form id="pageForm" action="${ctx}/list/getIndexList" method="post">
	<div class="home-top" style="_height:10rem;min-height:10rem;background-image: none;height: 0px;">
		<jsp:include page="/WEB-INF/views/qiantai/e/include/head.jsp" />
			<div class="choice">
				<table style="vertical-align:middle;" width="100%" border="1">
					<tr height="70rem">
						<td>Keyword search in title：<input type="text" id='keyword'> <img onclick='toUrl()' style="cursor:pointer" src="${ctx}/images/front/index/search_btn1.png"/></td>
						<!-- <td>标题</td>
						<td>内容简介</td> -->
					</tr>
				</table>
			</div>
		<div class="home-ui">
		</div>
	</div>
	<div class="w1200">
		<div class="home-tap">
			<table style="vertical-align:middle; text-align:center;" width="100%" border="1" cellspacing="0" cellpadding="0">
				<tr   height="70rem">
					<td width='70rem'>logo</td>
					<td width='70rem'>name</td>
					<td width='70rem'>introduce</td>
				</tr>
			</table>
				<input type="hidden" name="pageNo" id="pageNo" value="0" /> 
				<input type="hidden" name="pageSize" id="pageSize" value="2" /> 
				<input id='lastPage' type="hidden">
				
				<input type="hidden" name="ekeyword" value="${qianTaiVo.keyword}" />
				<input type="hidden" name="ecodeCode" value="${qianTaiVo.codeCode}" /> 
				<input type="hidden" name="starttime" value="<fmt:formatDate pattern='yyyy-MM-dd' value='${qianTaiVo.starttime}'/>" />
				<input type="hidden" name="endtime" value="<fmt:formatDate pattern='yyyy-MM-dd' value='${qianTaiVo.endtime}'/>" /> 
				<input type="hidden" name="cCountry" value="${qianTaiVo.cCountry}" />
				<input type="hidden" name="eCountry" value="${qianTaiVo.eCountry}" />
				<input type="hidden" name="cCity" value="${qianTaiVo.cCity}" />
				<input type="hidden" name="eCity" value="${qianTaiVo.eCity}" />
			<table id='pagehtml' style="vertical-align:middle;  text-align:center;" width="100%" border="1" cellspacing="0" cellpadding="0">
			</table>
			<table id='pagehtml1' style="vertical-align:middle;  text-align:center;" width="100%" border="1" cellspacing="0" cellpadding="0">
			</table>
		</div>
	</div>
</form>
	<jsp:include page="/WEB-INF/views/qiantai/e/include/foot.jsp"/>
	<script type="text/javascript">
		var listhtml = "<tr height='70rem' >";
			  listhtml = listhtml + "<td style='border:#cccccc solid 1px;' width='70rem'><a href='/content?id={3}'><img style='max-width:40%;' src='${ctx}/upload/img/{0}' alt='' /></a></td>";
			  listhtml = listhtml + "<td style='border:#cccccc solid 1px;' width='70rem'>{1}</td>";
			  listhtml = listhtml + "<td style='border:#cccccc solid 1px;' width='70rem'>{2}</td>";
			  listhtml = listhtml + "</tr>";
		function pageAppend(data){
			return listhtml.replace('{0}',data.headimg)
			.replace('{1}',data.etitle)
			.replace('{2}',data.econtent.substring(0,10))
			.replace('{3}',data.id);
		}
		function toUrl(){
			window.location.href = "/list/type?ss=3&e=e&keyword="+$("#keyword").val();
		}
		page(1,$("#pageSize").val());
	</script>
</body>
</html>